package cn.cj.erp.common.enums;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 是否枚举
 * @author chenjian
 */
public enum UserTypeEnum implements BaseEnum {
    FRONT("1", "前台用户"),
    BACKGROUND("0", "后台用户");

    @JsonValue
    private final String value;
    private final String label;

    UserTypeEnum(String value, String info) {
        this.value = value;
        this.label = info;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
